from config import FirmwareCommandIDs

class SerialPacket:
  def __init__(self, command):
    self.command = command

  def __str__(self):
    return self.command

class InitializationCmd(SerialPacket):
  def __init__(self, image_width):
    cmd = str(FirmwareCommandIDs.kSetImageWidth) + "," + str(image_width) + ";"
    SerialPacket.__init__(self, cmd)
